All Questions
5 questions
0votes
2answers
588views
Script to empty 1st & 2nd stage recycling bins from all sites in SharePoint
I'm looking for a way to automate emptying the recycling bins (1st & 2nd stage) from all sites in our SharePoint (Online) collection. From searching, I've found solutions that no longer work (...
1vote
2answers
3kviews
Automate clearing SharePoint Recycle Bin and Second Stage Recycle Bin
Does anyone know of a way to automate clearing recycle bin and second stage recycle bin for SharePoint? I use my SharePoint strictly for scheduled backups of my OS and the items in the recycle bins ...
1vote
1answer
1kviews
How to restore all Items from Recycle bin from a particular SharePoint online library using PnP PowerShell?
I have a SharePoint online library called MyLibrary, it contains approx. 4000 items. The items got deleted, and I need to restore them using PnP PowerShell, the following are the challenges I am ...
1vote
1answer
1kviews
Powershell+Sharepoint Online: Recycle Bin Recovery to Target Path
Using Powershell, I have found it possible to audit and restore the recycle bin using: Get-PnPRecycleBinItem and Restore-PnpRecycleBinItem. What I cannot find though is how I would go about sending ...
0votes
1answer
305views
Using restore-pnprecyclebinitems for sub-site use only
We have some files missing on a sub-site from which I have tried to use a script to restore. I connect to the context using connect-pnponline giving the specific team address t5\ts1. I confirm ...